<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue</title>
</head>
<script src="vue.js"></script>
<body>

    <div id="app">
        <li v-for="(item,key) in user">
            {{key}}------->{{item}}
        </li>
        <table border="1">
            <tr v-for=" v in 20">
              <td>{{v}}</td>
            </tr>
        </table>
    </div>

<script>
    var app=new Vue({
        el:'#app',
        data:{
            user:{
                name:'后端君',
                age:'24',
                sex:'boy'
            }
        }
    });

</script>
</body>
</html>